package com.huangbc.gateway.filter;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author:Derek.huang on 2024/4/12 14:21
 */

@Component
@ConfigurationProperties(prefix = "path-interceptor")
public class PathInterceptorConfig {

    private List<String> excludePathPatterns;

    public List<String> getExcludePathPatterns() {
        return excludePathPatterns;
    }

    public void setExcludePathPatterns(List<String> excludePathPatterns) {
        this.excludePathPatterns = excludePathPatterns;
    }
}
